package com.ruoyi.cencat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理员信息对象 cencat_repo_admin
 * 
 * @author cencat
 * @date 2024-05-21
 */
public class CencatRepoAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管理员ID */
    private Long repoAdminId;

    /** 管理员姓名 */
    @Excel(name = "管理员姓名")
    private String repoAdminName;

    /** 管理员性别 */
    @Excel(name = "管理员性别")
    private String repoAdminSex;

    /** 管理员电话 */
    @Excel(name = "管理员电话")
    private String repoAdminTel;

    /** 管理员地址 */
    @Excel(name = "管理员地址")
    private String repoAdminAddress;

    /** 管理员生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "管理员生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repoAdminBirth;

    /** 所属仓库ID */
    @Excel(name = "所属仓库ID")
    private Long repoId;

    public void setRepoAdminId(Long repoAdminId) 
    {
        this.repoAdminId = repoAdminId;
    }

    public Long getRepoAdminId() 
    {
        return repoAdminId;
    }
    public void setRepoAdminName(String repoAdminName) 
    {
        this.repoAdminName = repoAdminName;
    }

    public String getRepoAdminName() 
    {
        return repoAdminName;
    }
    public void setRepoAdminSex(String repoAdminSex) 
    {
        this.repoAdminSex = repoAdminSex;
    }

    public String getRepoAdminSex() 
    {
        return repoAdminSex;
    }
    public void setRepoAdminTel(String repoAdminTel) 
    {
        this.repoAdminTel = repoAdminTel;
    }

    public String getRepoAdminTel() 
    {
        return repoAdminTel;
    }
    public void setRepoAdminAddress(String repoAdminAddress) 
    {
        this.repoAdminAddress = repoAdminAddress;
    }

    public String getRepoAdminAddress() 
    {
        return repoAdminAddress;
    }
    public void setRepoAdminBirth(Date repoAdminBirth) 
    {
        this.repoAdminBirth = repoAdminBirth;
    }

    public Date getRepoAdminBirth() 
    {
        return repoAdminBirth;
    }
    public void setRepoId(Long repoId) 
    {
        this.repoId = repoId;
    }

    public Long getRepoId() 
    {
        return repoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("repoAdminId", getRepoAdminId())
            .append("repoAdminName", getRepoAdminName())
            .append("repoAdminSex", getRepoAdminSex())
            .append("repoAdminTel", getRepoAdminTel())
            .append("repoAdminAddress", getRepoAdminAddress())
            .append("repoAdminBirth", getRepoAdminBirth())
            .append("repoId", getRepoId())
            .toString();
    }
}
